import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
    {
        path: '/',
        component: () => import('@/views/index.vue'),
        meta: {
            keepAlive: true,
            refresh: false
        }
    },
    {
        path: '/form',
        component: () => import('@/views/form.vue'),
    }
]

export default new VueRouter({
    routes
})